SlimStat\Services\GeoService S

Total Complexity 31
Dependencies 3
Dependents 3
Total lines 169
Lines of code 114
Logical lines of code 51
Comment lines 3
Methods 17
Properties 4

Methods 17

Method Rating Maintainability Complexity Lines of code
getUserIP()
S
56 7 16
download()
S
52 5 26
checkDatabase()
S
55 3 20
getPack()
S
78 2 3
deleteDatabaseFile()
S
70 2 6
setUpdate()
S
77 1 4
updateLastUpdateTime()
S
80 1 3
clearScheduledEvent()
S
81 1 3
isMaxMindEnabled()
S
80 1 3
isJsDelivrEnabled()
S
80 1 3
setPack()
S
77 1 4
isGeoIPEnabled()
S
80 1 3
getMaxMindLicenseKey()
S
82 1 3
setMaxmindLicense()
S
77 1 4
getEnableMaxmind()
S
82 1 3
setEnableMaxmind()
S
77 1 4
logError()
S
71 1 6